//
// Jumbotron
// --------------------------------------------------


.jumbotron {
  padding: $jumbotron-padding 0;
  margin-bottom: 0;
  color: $jumbotron-color;
  background: $gray-darker url(../images/bg-1.png) 0 0 no-repeat;
  background-size: cover;
  text-align: center;

  h1,
  .h1 {
    color: $jumbotron-heading-color;
  }

  p {
    margin-bottom: ($jumbotron-padding / 2);
    font-size: ($jumbotron-font-size - 6);
    font-weight: 200;
  }

  > hr {
    border-top-color: darken($jumbotron-bg, 10%);
  }

  .container & {
    border-radius: $border-radius-large; // Only round corners at higher resolutions if contained in a container
  }

  .container {
    max-width: $container-md;
  }

  @media screen and (min-width: $screen-sm-min) {
    padding-top:    ($jumbotron-padding * 3 + 10);
    padding-bottom: ($jumbotron-padding * 3 + 10);

    .container & {
      padding-left:  ($jumbotron-padding * 2);
      padding-right: ($jumbotron-padding * 2);
    }

    h1,
    .h1 {
      font-size: $font-size-h1;

      @media screen and (max-width: $screen-xs-320-min) {
        font-size: 34px
      }
    }
  }

  // Logo
  .img-logo {
    display: inline-block;
    margin-left: auto;
    margin-right: auto;
    @include size(250px, auto);
    margin-top:    ($jumbotron-padding * 2 - 10);
    margin-bottom: ($jumbotron-padding - 10);

    @media screen and (max-width: $screen-md-800-min) {
      margin-top: 0;
    }
  }

  // Images showcase
  .img-iPhone {
    @include center-block();
    @include size(320px, auto);

    @media screen and (max-width: $screen-md-800-min) {
      margin-top: ($jumbotron-padding * 2 - 10);
    }

    @media screen and (max-width: $screen-xs-min) {
      @include size(250px, auto);
    }

    @media screen and (max-width: $screen-xs-320-min) {
      @include size(220px, auto);
    }
  }

  // Button app store
  .btn-app-store {
    margin-top: ($jumbotron-padding + 10);

    .btn {

      &.btn-lg {
        padding: 0;
      }

      img {
        @include center-block();
        @include size(180px, auto);
      }
    }
  }
}
